{include file="public/header" /}
    <!--为律师案件提供资金标题部分开始-->
{volist name="ret" id="vo"}
{if condition="$key eq 0"}
    <div class="bg-color-gray lawyercooper-bg">
        <div class="layui-container">
            <div class="layui-col-md12">
                <fieldset class="lawyer-fieldset">
                    <legend class="layui-text-center">
                        <h1>{$vo.title}</h1>
                    </legend>
                    <h6 class="layui-text-center">{$vo.generalize}</h6>
                    {$vo.content}
                </fieldset>
            </div>
        </div>
    </div>
{/if}
{/volist}
    <!--为律师案件提供资金标题部分结束-->

    <!--三步摆脱诉讼烦恼标题部分开始-->
{volist name="ret" id="vo"}
{if condition="$key eq 1"}
    <div class="layui-fluid layui-margin-bottom-100 wow bounceInLeft" data-wow-duration='1.2s'>
        <div class="layui-row">
            <div class="layui-col-md12  layui-text-center layui-one">
                <span class="layui-padding layui-boder-b text-color-black">{$vo.title}</span>
            </div>
        </div>
        <div class="layui-row" style="margin-top: 60px;">
            <div class="layui-col-md12  layui-text-center layui-two">
                <span class="text-color-black">{$vo.generalize}</span>
            </div>
        </div>
    </div>
    <!--三步摆脱诉讼烦恼标题部分开始-->
    <!--三步摆脱诉讼烦恼内容部分开始-->
    <div class="layui-container layui-margin-bottom-100 wow bounceInRight" data-wow-duration='1.2s'>
        <div class="layui-row layui-text-center layui-col-space30">
          {volist name="$vo.son" id="vo2"}
            <div class="layui-col-md4">
                <div class="laywer-contact laywer-contact-active">
                    <div>
                        <img src="{$vo2.thumb}">
                    </div>
                    {$vo2.content}
                </div>
            </div>
          {/volist}
        </div>
    </div>
{/if}
{/volist}
    <!--三步摆脱诉讼烦恼内容部分结束-->

    <!--选择零零诉就是选择财富标题部分开始-->
{volist name="ret" id="vo"}
{if condition="$key eq 2"}
    <div class="bg-color-gray" id="index-bg1">
        <div class="layui-fluid layui-margin-bottom-100 wow bounceInLeft" data-wow-duration='1.2s'>
            <div class="layui-row">
                <div class="layui-col-md12  layui-text-center layui-one">
                    <span class="layui-padding layui-boder-b">{$vo.title}</span>
                </div>
            </div>
            <div class="layui-row" style="margin-top: 60px;">
                <div class="layui-col-md12  layui-text-center layui-two">
                    <span class="">{$vo.generalize}</span>
                </div>
            </div>
        </div>
        <!--选择零零诉就是选择财富标题部分结束-->

        <!--选择零零诉就是选择财富内容部分开始-->
        <div class="layui-container bg-color-gray layui-margin-bottom-100 wow bounceInLeft" data-wow-duration='1.2s'>
            <div class="layui-row">
                <div class="layui-col-md12">
                    <div class="layyercooper-money-wraper">
                        {volist name="$vo.son" id="vo2"}
                        {if condition="$key eq 3"}
                        <div class="layyercooper-money-biger">
                            <div class="layyercooper-money-header layui-text-center">
                                <div>
                                    <img src="{$vo2.thumb}">
                                </div>
                                <h2>{$vo2.title}</h2>
                                <h6>{$vo2.generalize}</h6>
                            </div>
                            <div class="layyercooper-money-body">
                                {$vo2.content}
                                <!-- <div class="layyercooper-money-btn">了解更多</div>-->
                            </div>
                            <div class="layyercooper-money-footer">
                                <div class="layyercooper-money-footer-cont">
                                    <span>客户无需承担任何风险</span>
                                    <span>
                                        <i class="fa fa-chevron-circle-right text-color-yellow" aria-hidden="true"></i>
                                    </span>
                                </div>
                                <div class="layyercooper-money-footer-cont">
                                    <span>客户无需承担任何风险</span>
                                    <span>
                                        <i class="fa fa-chevron-circle-right text-color-yellow" aria-hidden="true"></i>
                                    </span>
                                </div>
                                <div class="layyercooper-money-footer-cont">
                                    <span>客户无需承担任何风险</span>
                                    <span>
                                        <i class="fa fa-chevron-circle-right text-color-yellow" aria-hidden="true"></i>
                                    </span>
                                </div>
                            </div>
                        </div>
                        {/if}
                        {/volist}
                        <!--左边三列容器开始-->
                        <div class="layyercooper-money-small">
                            {volist name="$vo.son" id="vo2"}
                            {if condition="$key lt 3"}
                            <div class="layyercooper-money-small-c bg-color-huise1 layui-text-center">
                                <div class="layyercooper-money-small-c-h">
                                    <div>
                                        <img src="{$vo2.thumb}">
                                    </div>
                                    <p>{$vo2.title}</p>

                                </div>
                                {$vo2.content}
                            </div>
                            {/if}
                            {/volist}
                        </div>
                        <!--左边三列容器结束-->
                    </div>
                </div>
            </div>
        </div>
    </div>
{/if}
{/volist}
    <!--选择零零诉就是选择财富内容部分结束-->


    <!--入住零零诉提供优质案源标题部分开始-->
{volist name="ret" id="vo"}
{if condition="$key eq 3"}
    <div class="layui-fluid layui-margin-bottom-100 wow bounceInLeft" data-wow-duration='1.2s'>
        <div class="layui-row">
            <div class="layui-col-md12  layui-text-center layui-one">
                <span class="layui-padding layui-boder-b text-color-black">{$vo.title}</span>
            </div>
        </div>
        <div class="layui-row" style="margin-top: 60px;">
            <div class="layui-col-md12  layui-text-center layui-two">
                <span class="text-color-black">{$vo.generalize}</span>
            </div>
        </div>
    </div>
    <!--入住零零诉提供优质案源标题部分开始-->
    <!--入住零零诉提供优质案源内容部分开始-->
    <div class="layui-container layui-margin-bottom-100 wow bounceInRight" data-wow-duration='1.2s'>
        <div class="layui-row layui-col-space30">
            <div class="layui-col-md5">
                <div class="layer-source">
                    <div class="layer-source-inner">
                        <span>律师合作</span>
                    </div>
                </div>
            </div>
            <div class="layui-col-md7">
                <form class="layer-form-wraper" id="from">
                    <div class="layer-form-wraper-item">
                        <label class="layercoop-user" for="layercoop-user">
                            <i class="fa fa-user-o text-color-huise" aria-hidden="true" style="font-size: 36px;"></i>
                        </label>
                        <input type="text" name="name" id="layercoop-user" placeholder="请输入姓名">
                    </div>
                    <div class="layer-form-wraper-item">
                        <label class="layercoop-tel" for="layercoop-tel">
                            <i class="fa fa-mobile text-color-huise" aria-hidden="true" style="font-size: 60px;"></i>
                        </label>
                        <input type="tel" name="phone" id="layercoop-tel" placeholder="请输入号码">
                    </div>
                    <div class="layer-form-wraper-item">
                        <label class="layercoop-addr" for="layercoop-addr">
                            <i class="fa fa-map-marker text-color-huise" aria-hidden="true" style="font-size: 50px;"></i>
                        </label>
                        <input type="text" name="address" id="layercoop-addr" placeholder="请输入地址">
                    </div>
                    <button type="submit" class="layer-form-wraper-btn">一键入住</button>
                </form>
            </div>
        </div>
    </div>
{/if}
{/volist}
    <!--入住零零诉提供优质案源内容部分结束-->

<script>
    /*申请入驻零零诉*/
    layui.use(['form'],function () {
        var form = layui.form;
        $("#from").submit(function (e) {
            e.preventDefault();
            var formzie = $(this).serialize();
            $.post("{:url('/index/Lawyertion/register')}",formzie,function (data) {
                if(data.code == 0){
                    layer.msg(data.msg)
                }else if(data.code == 2){
                    layer.msg(data.msg);
                    setTimeout(function () {
                        window.location.href="{:url('login/index')}";
                    },2000)
                }else{
                    layer.msg(data.msg);
                    setTimeout(function () {
                        location.reload();
                    },2000);
                }
            });
        });
        form.render();
    });
</script>

{include file="public/footer" /}
